package com.heima.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author xiaoxiaode
 * @date 2021/9/23 20:38
 **/


@EnableAutoConfiguration
@SpringBootConfiguration
@EnableDiscoveryClient
@MapperScan("com.heima.user.mapper")
@ComponentScan("com.heima")
public class UserApplication {


    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
